package com.bdqn.zhang.service.impl;

import com.bdqn.zhang.mapper.GradeMapper;
import com.bdqn.zhang.pojo.Grade;
import com.bdqn.zhang.service.GradeService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <Description> <br>
 *
 * @author tao<br>
 * @version 1.0<br>
 * @taskId: <br>
 * @createDate 2019/09/23 12:30 <br>
 * @see com.bdqn.zhang.service.impl <br>
 */
@Service("gradeService")
public class GradeServiceImpl implements GradeService {

    @Resource
    private GradeMapper gradeMapper;

    @Override
    public List<Grade> getAll() {
        return gradeMapper.getAll();
    }
}
